# Don't ask questions
echo "debconf debconf/priority select critical" > /tmp/debconf-data
debconf-set-selections /tmp/debconf-data
dpkg-reconfigure -u debconf

# Ubuntu packages
apt-get install --yes \
	build-essential \
	subversion \
	python-dev \
	python-mysqldb \
	python-dateutil \
	python-crypto \
	python-sqlite \
	mysql-server \
	libmagic-dev \
	python-pexpect \
	python-imaging \
	clamav-daemon \
	libzip-dev \
	darcs \
	automake \
	autoconf \
	libtool

# Python packages
cd /tmp
wget peak.telecommunity.com/dist/ez_setup.py
python ez_setup.py
easy_install pyparsing
easy_install pyPdf

# Pyflag
cd ~
darcs get http://www.pyflag.net/pyflag
cd pyflag
sh autogen.sh
./configure
make
make install

# Set mysql password
# Set Pyflag plugins directories

# Pyflag-agh
cd ~
svn checkout http://pyflag-agh.googlecode.com/svn/trunk/ pyflag-agh


